//
//  NetWorkSerializer.h
//  URLSessionTest
//
//  Created by mac on 2017/7/7.
//  Copyright © 2017年 yyb. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NetWorkSerializer : NSObject

- (instancetype)initWithURL:(NSString *)urlString
                  andMethod:(NSString *)method
                  andUseJSONSerializer:(BOOL )useJSONSerializer
                  andParams:(NSDictionary <NSString *,id>*)params;
- (NSMutableURLRequest *)buildRequest;

@end
